package com.stylefeng.guns.modular.system.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 异常订单收付款表

 * </p>
 *
 * @author chengshuai
 * @since 2018-10-12
 */
@TableName("ex_order_pay")
public class ExOrderPay extends Model<ExOrderPay> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;
    /**
     * 订单单号
     */
    @TableField("order_sn")
    private String orderSn;
    /**
     * 交款人
     */
    private String payer;
    /**
     * 收款人
     */
    private String payee;
    /**
     * 收款时间
     */
    @TableField("pay_time")
    private Date payTime;
    /**
     * 交款人id
     */
    @TableField("payer_id")
    private Integer payerId;
    /**
     * 额度
     */
    private Long amount;
    /**
     * pay_type
     */
    @TableField("pay_type")
    private Integer payType;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 创建人
     */
    private String operator;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public String getPayer() {
        return payer;
    }

    public void setPayer(String payer) {
        this.payer = payer;
    }

    public String getPayee() {
        return payee;
    }

    public void setPayee(String payee) {
        this.payee = payee;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getPayerId() {
        return payerId;
    }

    public void setPayerId(Integer payerId) {
        this.payerId = payerId;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ExOrderPay{" +
        "id=" + id +
        ", orderSn=" + orderSn +
        ", payer=" + payer +
        ", payee=" + payee +
        ", payTime=" + payTime +
        ", payerId=" + payerId +
        ", amount=" + amount +
        ", payType=" + payType +
        ", createtime=" + createtime +
        ", operator=" + operator +
        "}";
    }
}
